<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>清秀娃娃提示</title>
    <link rel="stylesheet" href="/statics/css/login.css">
    <link rel="stylesheet" href="/statics/css/iconfont.css">
    <script type="text/javascript" src="/statics/js/jquery-3.1.1.min.js"></script>
    <style>
        .infoTip{
            text-align: center;
        }
        .infoTip div:nth-child(1) img{
            width: 5rem;
        }
        .infoTip div:nth-child(2){
            font-size: 2rem;
            width: 100%;
            line-height: 1.2;
            margin: 0 auto;
        }
        .jump_success{
            color: #01a32c;
        }
        .jump_error{
            color: #d20001;
        }
    </style>
</head>
<body>
<div class="login-banner"></div>
<div class="login-box">
    <div class="box-con tran">
        <div class="mobile-success f-l">
            <div class="infoTip">
                <?php if($status){?>
                <div><img src="/statics/images/jump_success.png" alt=""></div>
                <div class="jump_success"><?=$message?></div>
                <?php }else{?>
                <div><img src="/statics/images/jump_error.png" alt=""></div>
                <div class="jump_error"><?=$message?></div>
                <?php }?>
            </div>
            <!-- <p>请完善您的账号信息，您也可以<a href="#">绑定现有账号</a></p> -->
            <div class="from-line"></div>
            <div class="form-group">
                <a id="href" href="<?=$jumpUrl; ?>" style="display: none">如果你的浏览器没有自动跳转，请点击这里...</a>
                <p style="display: none">等待时间： <b id="wait"><?=$waitSecond; ?></b></p>
                <a href="/user/login" class="move-signup a-tag tran blue-border">返回<i class="iconfont tran">&#xe606;</i></a>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="/statics/js/login.js"></script>
</body>

</html>
<script type="text/javascript">
    (function(){
        var wait = document.getElementById('wait'),href = document.getElementById('href').href;
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0) {
                location.href = href;
                clearInterval(interval);
            };
        }, 2000);
    })();
</script>